//
//  HotPost.m
//  DFForum
//
//  Created by lanou on 15/10/23.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "HotPost.h"

@implementation HotPost

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _picArray = [NSMutableArray array];
    }
    return self;
}


- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"pic_url"]) {
        for (NSString *str in value) {
            [self.picArray addObject:str];
        }
        
    }
    else
    {
        [super setValue:value forKey:key];
    }
}
@end
